﻿namespace iTool.Connector.CommandOfParameter
{
    public class APIJSONParameter
    {
        public string Script { get; set; }
        public string MothodType { get; set; }
        public Connaction Connaction { get; set; }
        public Cache Cache { get; set; }
    }

    public class Connaction
    {
        public string Title { get; set; }
    }

    public class Cache
    {
        /// <summary>
        /// 缓存关键字
        /// </summary>
        public string Key { get; set; }

        /// <summary>
        /// 是否强制刷新（true，则不适用缓存）
        /// </summary>
        public bool IsForceRefresh { get; set; }

        /// <summary>
        /// 缓存时间
        /// </summary>
        public int Seconds { get; set; }
    }

}
